package com.xbongbong.admin.model.impl;

import com.xbongbong.admin.domain.dao.MirrorRetainLabelDao;
import com.xbongbong.admin.domain.dao.MirrorRetainLabelGroupDao;
import com.xbongbong.admin.domain.entity.MirrorRetainLabelGroupEntity;
import com.xbongbong.admin.model.MirrorRetainLabelGroupModel;
import com.xbongbong.paas.toolbox.exception.XbbException;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author guohui.zhang
 * @Title:
 * @date 2021/1/2014:22
 */
@Service("mirrorRetainLabelGroupModel")
public class MirrorRetainLabelGroupModelImpl implements MirrorRetainLabelGroupModel {
    @Resource
    private MirrorRetainLabelGroupDao mirrorRetainLabelGroupDao;
    @Override
    public Integer insert(MirrorRetainLabelGroupEntity entity) throws XbbException {
        return null;
    }

    @Override
    public Integer update(MirrorRetainLabelGroupEntity entity) throws XbbException {
        return null;
    }

    @Override
    public void insertBatch(List<MirrorRetainLabelGroupEntity> mirrorRetainLabelGroupEntities) {
        mirrorRetainLabelGroupDao.insertBatch(mirrorRetainLabelGroupEntities);
    }

    @Override
    public List<MirrorRetainLabelGroupEntity> findEntitys(Map<String, Object> param) {
        return  mirrorRetainLabelGroupDao.findEntitys(param);
    }

    @Override
    public Integer getEntitysCount(Map<String, Object> param) {
        return null;
    }

    @Override
    public List findEntitysWithoutSub(Map<String, Object> param) {
        return null;
    }
}
